module.exports = {
    devServer: {
        host: 'localhost',
        port: 8080,
        proxy: {
            '/api': {
                target: 'http://drv82u.natappfree.cc',
                changeOrigin: true,
                pathRewrite: {
                    '/api': ''
                }
            }
        },
        disableHostCheck: true,
    },
    lintOnSave: false,
    publicPath: process.env.NODE_ENV === 'production' ? 'luckdraw' : '/'
}